package co.laomag.coffee.dao.article;

import co.laomag.coffee.model.entity.ChDiscovery;
import co.laomag.coffee.model.vo.Pagination;

import java.util.List;

public interface ChDiscoveryDao {
    int deleteByPrimaryKey(String discoveryId);

    int insert(ChDiscovery record);

    int insertSelective(ChDiscovery record);

    ChDiscovery selectByPrimaryKey(String discoveryId);

    int updateByPrimaryKeySelective(ChDiscovery record);

    int updateByPrimaryKey(ChDiscovery record);

    List<ChDiscovery> getChDiscoveryList(Pagination pagination);

    int getTotal();
}